namespace C1.Win.C1FlexGrid.Util
{
    using System;

    public class Margins : ICloneable
    {
        public int Bottom;
        public int Left;
        public int Right;
        public int Top;

        public Margins() : this(2, 2, 0, 0)
        {
        }

        public Margins(int left, int right, int top, int bottom)
        {
            this.Left = left;
            this.Right = right;
            this.Top = top;
            this.Bottom = bottom;
        }

        public object Clone()
        {
            return new Margins(this.Left, this.Right, this.Top, this.Bottom);
        }
    }
}

